Cognitive function and delirium evaluation